From 67194613185325a9a3ddf855bcb218a38b75a259 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 27 Feb 2025 16:21:50 +0800 Subject: [PATCH] gui/tray: Add hacky workaround to avoid icon and text for menu items in tray header being too close Signed-off-by: Claudio Cambra --- src/gui/tray/TrayWindowHeader.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/tray/TrayWindowHeader.qml b/src/gui/tray/TrayWindowHeader.qml index a78aab5f8..3fbd8fc53 100644 --- a/src/gui/tray/TrayWindowHeader.qml +++ b/src/gui/tray/TrayWindowHeader.qml @@ -121,7 +121,9 @@ Rectangle { model: UserAppsModel delegate: MenuItem { id: appEntry - text: model.appName + // HACK: Without creating our own component (and killing native styling) + // HACK: we do not have a way to adjust the text and icon spacing. + text: " " + model.appName font.pixelSize: Style.topLinePixelSize icon.source: model.appIconUrl icon.color: palette.windowText -- 2.30.2